package com.ruoyi.information.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 销售信息列表对象 sale_information
 * 
 * @author ruoyi
 * @date 2024-09-14
 */
public class SaleInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 销售信息id */
    private Long id;

    /** 售卖状态 */
    @Excel(name = "售卖状态")
    private Long saleStatus;

    /** 售卖楼栋 */
    @Excel(name = "售卖楼栋")
    private String saleBuilding;

    /** 最新开盘 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最新开盘", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastOpen;

    /** 最近交房 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近交房", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastHand;

    /** 售楼地址 */
    @Excel(name = "售楼地址")
    private String saleAddress;

    /** 接待时间 */
    @Excel(name = "接待时间")
    private String serveTime;

    /** 是否验资 */
    @Excel(name = "是否验资")
    private Long isCapital;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSaleStatus(Long saleStatus) 
    {
        this.saleStatus = saleStatus;
    }

    public Long getSaleStatus() 
    {
        return saleStatus;
    }
    public void setSaleBuilding(String saleBuilding) 
    {
        this.saleBuilding = saleBuilding;
    }

    public String getSaleBuilding() 
    {
        return saleBuilding;
    }
    public void setLastOpen(Date lastOpen) 
    {
        this.lastOpen = lastOpen;
    }

    public Date getLastOpen() 
    {
        return lastOpen;
    }
    public void setLastHand(Date lastHand) 
    {
        this.lastHand = lastHand;
    }

    public Date getLastHand() 
    {
        return lastHand;
    }
    public void setSaleAddress(String saleAddress) 
    {
        this.saleAddress = saleAddress;
    }

    public String getSaleAddress() 
    {
        return saleAddress;
    }
    public void setServeTime(String serveTime) 
    {
        this.serveTime = serveTime;
    }

    public String getServeTime() 
    {
        return serveTime;
    }
    public void setIsCapital(Long isCapital) 
    {
        this.isCapital = isCapital;
    }

    public Long getIsCapital() 
    {
        return isCapital;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("saleStatus", getSaleStatus())
            .append("saleBuilding", getSaleBuilding())
            .append("lastOpen", getLastOpen())
            .append("lastHand", getLastHand())
            .append("saleAddress", getSaleAddress())
            .append("serveTime", getServeTime())
            .append("isCapital", getIsCapital())
            .toString();
    }
}
